package cn.itcast.yimiaoyuyue.Adapter;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;

public class MyListActivity extends AppCompatActivity {
ImageView imBack;
ListView listView1;
TextView tvName;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_mylist);
        initView();
        initData();
        initEvent();
    }

    private void initEvent() {
        imBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(MyListActivity.this,MyActivity.class);
                startActivity(intent);

            }
        });
    }

    private void initData() {

    }

    private void initView() {
        imBack = findViewById(R.id.im_back);
        listView1 = findViewById(R.id.listview1);

    }
}